#ifndef CONTROLCARD_HEAD_H
#define CONTROLCARD_HEAD_H
#include "GameLogic.h"
#include "TableBase.h"	

#define MAX_PERCENT				100

class ControlCard
{
private:
	BYTE	 m_win_rate [ MAX_PERCENT ] ;
	GameLogic m_logic;
public:
	ControlCard(void);
public:
	~ControlCard(void);
public:
	void init( int win_percent = 70 ) ;
	void test();
	void debug( BYTE player_card_data[ ][ MAX_COUNT ] ,GameLogic & logic );
	void printf_cards( BYTE player_card_data[ ][ MAX_COUNT ] ,GameLogic & logic );
	void controlRobotCard( BYTE player_card_data[ ][MAX_COUNT] ,TableBase * table  );
private:
	BYTE get_player_chair( BYTE player_chair [ ]  );
};

#endif

